[INFO] fetching crate substrate-bn 0.6.0...
[INFO] checking substrate-bn-0.6.0 against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] extracting crate substrate-bn 0.6.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate substrate-bn 0.6.0 on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate substrate-bn 0.6.0
[INFO] finished tweaking crates.io crate substrate-bn 0.6.0
[INFO] tweaked toml for crates.io crate substrate-bn 0.6.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate crates.io crate substrate-bn 0.6.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b015524d26166a05d7b9cac88ae264ae90bc92c55a7ca667658897e8abba66de
[INFO] running `Command { std: "docker" "start" "-a" "b015524d26166a05d7b9cac88ae264ae90bc92c55a7ca667658897e8abba66de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b015524d26166a05d7b9cac88ae264ae90bc92c55a7ca667658897e8abba66de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b015524d26166a05d7b9cac88ae264ae90bc92c55a7ca667658897e8abba66de", kill_on_drop: false }`
[INFO] [stdout] b015524d26166a05d7b9cac88ae264ae90bc92c55a7ca667658897e8abba66de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6e481f629fd68278556ff6bcee4f0e58cb0c7ef2b10210acf8d0e5cd09e9474
[INFO] running `Command { std: "docker" "start" "-a" "a6e481f629fd68278556ff6bcee4f0e58cb0c7ef2b10210acf8d0e5cd09e9474", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking substrate-bn v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 27 | / benchmark!(fr_addition,
[INFO] [stdout] 28 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |            input.0 + input.1
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 33 | / benchmark!(fr_subtraction,
[INFO] [stdout] 34 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |            input.0 - input.1
[INFO] [stdout] 37 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 39 | / benchmark!(fr_multiplication,
[INFO] [stdout] 40 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 41 | |
[INFO] [stdout] 42 | |            input.0 * input.1
[INFO] [stdout] 43 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 45 | / benchmark!(fr_inverses,
[INFO] [stdout] 46 | |            input(rng) = Fr::random(rng);
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |            input.inverse()
[INFO] [stdout] 49 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 51 | / benchmark!(g1_addition,
[INFO] [stdout] 52 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 53 | |
[INFO] [stdout] 54 | |            input.0 + input.1
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 57 | / benchmark!(g1_subtraction,
[INFO] [stdout] 58 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 59 | |
[INFO] [stdout] 60 | |            input.0 - input.1
[INFO] [stdout] 61 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 63 | / benchmark!(g1_scalar_multiplication,
[INFO] [stdout] 64 | |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout] 65 | |
[INFO] [stdout] 66 | |            input.0 * input.1
[INFO] [stdout] 67 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 69 | / benchmark!(g2_addition,
[INFO] [stdout] 70 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |            input.0 + input.1
[INFO] [stdout] 73 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 75 | / benchmark!(g2_subtraction,
[INFO] [stdout] 76 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 77 | |
[INFO] [stdout] 78 | |            input.0 - input.1
[INFO] [stdout] 79 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 81 | / benchmark!(g2_scalar_multiplication,
[INFO] [stdout] 82 | |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout] 83 | |
[INFO] [stdout] 84 | |            input.0 * input.1
[INFO] [stdout] 85 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 87 | / benchmark!(fq12_scalar_multiplication,
[INFO] [stdout] 88 | |            input(rng) = {
[INFO] [stdout] 89 | |                let g1_1 = G1::random(rng);
[INFO] [stdout] 90 | |                let g2_1 = G2::random(rng);
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |            input.0 * input.1
[INFO] [stdout] 99 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 101 | / benchmark!(fq12_exponentiation,
[INFO] [stdout] 102 | |            input(rng) = ({
[INFO] [stdout] 103 | |                let g1 = G1::random(rng);
[INFO] [stdout] 104 | |                let g2 = G2::random(rng);
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |            input.0.pow(input.1)
[INFO] [stdout] 110 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 112 | / benchmark!(perform_pairing,
[INFO] [stdout] 113 | |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout] 114 | |
[INFO] [stdout] 115 | |            pairing(input.0, input.1)
[INFO] [stdout] 116 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substrate-bn` due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "a6e481f629fd68278556ff6bcee4f0e58cb0c7ef2b10210acf8d0e5cd09e9474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6e481f629fd68278556ff6bcee4f0e58cb0c7ef2b10210acf8d0e5cd09e9474", kill_on_drop: false }`
[INFO] [stdout] a6e481f629fd68278556ff6bcee4f0e58cb0c7ef2b10210acf8d0e5cd09e9474
